#! /bin/bash
if [ $# -ne 1 ]
then
   echo "kill parameter error!"
else
 ps au | grep "$1" | awk '{print $2}' |xargs kill -s SIGKILL
 fi
